﻿using Microsoft.EntityFrameworkCore;
using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectManage.Core.Dto.SYS
{
    public class UpdateUserDto : BaseUpdate
    {

        /// <summary>
        /// 姓名不能为空
        /// </summary>
        [Required(ErrorMessage = "姓名不能为空")]
        public string? Name { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "密码不能为空")]
        public string? Password { get; set; }

    }
}
